﻿using Hotel.Model;
using Hotel.Model.admin;
using Microsoft.EntityFrameworkCore;

namespace Hotel.DAL
{
    public class HotelConText : DbContext
    {
        public HotelConText(DbContextOptions options) : base(options)
        {

        }

        public DbSet<adminModel> admins { get; set; }//管理员

        public DbSet<MemberModel> members { get; set; }//会员添加

        public DbSet<MemberLevelModel> levelModels { get; set; }//会员等级
        public DbSet<MemberRight> rights { get; set; }//权益

        public DbSet<ShopModel> shops { get; set; }//门店

    }
}